<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="js/jquery-3.5.0.js"></script>
    <link rel="stylesheet" type="text/css" href="bootstrap/bootstrap.min.css">
    <script type="text/javascript" src="bootstrap/jquery.min.js"></script>
    <script type="text/javascript" src="bootstrap/popper.min.js"></script>
    <script type="text/javascript" src="bootstrap/bootstrap.min.js"></script>
    <script src="Vue/Vue.js"></script>
    <script src="Vue/axios.js"></script>
</head>
<body>
    <div id="app">
        <input type="button" value="上传" @click="up()">

    <script>
        new Vue({
            el: "#app",
            methods: {
                up: function () {
                    alert(1);

                    var params=new URLSearchParams();

                    params.append("vid","1");
                    params.append("refreshToken","tttt");
                    axios.post("classteacher/addRemark", params).then(res => function () {

                    });
                }
            }
        });
    </script>

</body>
</html>